/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package enterprise.servlet_stateless_ejb;

/**
 *
 * @author Jack Zou
 */
public class MyObject {
    MyObject[] times;   // 所有倍数的Cache, 有可能不完全
    MyObject[] factors; // 所有的因数
    Object content;

    public MyObject(Object content) {
        this.factors = null;
        this.content = content;
    }

    public MyObject(MyObject[] factors, Object content) {
        this.factors = factors;
        this.content = content;
    }

    public void setup() {
        MyObject v2 = new MyObject("wang");
        MyObject v3 = new MyObject("zhang");
        MyObject[] friends = {v2, v3};
        MyObject v6 = new MyObject( friends, "friend");
    }
}

class people extends MyObject {

}
